import request from '@/utils/request'

// 查询积分获取记录列表
export function listShop_points_income(query) {
  return request({
    url: '/shop/shop_points_income/list',
    method: 'get',
    params: query
  })
}

// 查询积分获取记录详细
export function getShop_points_income(id) {
  return request({
    url: '/shop/shop_points_income/' + id,
    method: 'get'
  })
}

// 新增积分获取记录
export function addShop_points_income(data) {
  return request({
    url: '/shop/shop_points_income',
    method: 'post',
    data: data
  })
}

// 修改积分获取记录
export function updateShop_points_income(data) {
  return request({
    url: '/shop/shop_points_income',
    method: 'put',
    data: data
  })
}

// 删除积分获取记录
export function delShop_points_income(id) {
  return request({
    url: '/shop/shop_points_income/' + id,
    method: 'delete'
  })
}
